#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2018/3/13 0013 14:25
# @Author  : Arliki
# @email   : hkdnxycz@outlook.com
# @File    : function

from hashlib import md5


def MD5(str):
    m1 = md5()
    m1.update(str.encode(encoding='utf-8'))
    return m1.hexdigest()
